﻿
Option Strict On

Imports System.Configuration

Namespace Configuration

    Public Class ServiceTypeCollection
        Inherits ConfigurationElementCollection

        Protected Overloads Overrides Function CreateNewElement() As System.Configuration.ConfigurationElement
            Return New ServiceType()
        End Function

        Protected Overrides Function GetElementKey(ByVal element As System.Configuration.ConfigurationElement) As Object
            Return CType(element, ServiceType).Name
        End Function

    End Class

End Namespace